﻿<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">网站设置</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">新增单独页</a></span>
            <div class="z-f-r"><span class="user-t">当前语言为：</span><span class="user-info"><?php echo $GLOBALS['langdata'][$GLOBALS['langtype']] ;?></span><!-- <a href="#">退出</a> --></div>
        </div>
        <div class="top-menu">
        	<ul>

                                                 <li><a href="index.php?app=alonepage&act=index"  target="mainframe">单独页列表</a></li>
                                                 <li class="current"><a href="#" >新增单独页</a></li>
                                                <li><a href="index.php?app=alonepage&act=cagrylist"  target="mainframe">单独页分类列表</a></li>
                                                 <li><a href="index.php?app=alonepage&act=cagryadd"  target="mainframe">新增单独页分类</a></li>

				
				
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">


  <form name="form1" method="post" action="?app=alonepage&act=addpost">
<table  class="data" >
<tbody>
                                  <tr >
	                                      <td width="15%">所属栏目<font color=red>(*)</font>:</td>
	                                      <td>
	                                       <select name="data[cat_id]" >
                                           <option value='0'>请选择分类...</option>
                                           
                                           <!--{foreach($categorydata as $_key => $_value )}-->
                                           
				<option value="{$_value.cat_id}" <!--{if ($_value.cat_id==0)}-->selected<!--{/if}-->>{$_value.str_pad}{$_value.cat_name}</option>
                
                                            <!--{/foreach}-->
                                           </select>
	                                     </td>
                                 </tr>                                   
                                   
                      

    <tr  > 
      <td width="30%">单独页名称: 
        
      </td>
	  <td><input type="text" name="data[name]" value="" size="40">
	  </td>
    </tr>
    <tr >
      <td >标 题:(title,可留空) </td>
			  <td> <input type="text" name="data[title]" value="" size="70">
	  </td>
    </tr>

    <tr >
      <td >描述:(descroption,可留空) </td>
			  <td> <input type="text" name="data[description]" value="" size="70">
	  </td>
    </tr>

    <tr > 
      <td > 静态网页名:(可以为多级目录) </td>
	 <td><input type="text" name="data[filename]" value="{$data.filename}" size="50">
	  </td>
    </tr>
   <tr  > 
      <td >关 键 字:(keyworld可留空) 
	 </td>
	  <td><input type="text" name="data[keywords]" value="" size="50">
	  </td>
    </tr>
  
              <SCRIPT LANGUAGE="JavaScript">
<!--

function upfile(url,b){
	document.getElementById(b).value=url;

}
//-->
</SCRIPT>                               
                                  <tr >
	                                      <td>横像图:</td>
	                                      <td>
                    <input type="text" name="data[picurl]" size="40" value="" id="uppic"><br/>
                    <iframe name='mainFrame2' frameborder=0 height=150 scrolling=no src='?app=alonepage&act=upfile&id={$id}' width=370></iframe> 
	                                     </td>
                                 </tr>
   <tr  > 
      <td >模板名称
	 </td>
	  <td><input type="text" name="data[modue]" value="alonepage.view.html" size="50">
	  </td>
    </tr>	
                                <tr >
	                                     <td colspan="2" align="left" >内容:<br/><iframe id='eWebEditor1' src='?app=alonepage&act=kindeditor&id=atc_content&style=standard&w={$id}' frameborder='0' scrolling='no' width='100%' height='450'></iframe>
                       
                       
                       <input name='data[content]' id='atc_content' type='hidden' value=''>									 
										 </td>


                                </tr>           	
	

    <tr > 
      <td colspan="2" align="center"> 
        <input type="hidden" name="id" value="">
        <input type="submit" class="buton" value=" 提 交 " />
      </td>
    </tr>

            </tbody>
        </table>
  </form>



	
        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b> <span ></span> </div>
    </div>
</div>
<!--{inc(footer.view.html)}-->